
/**
* trigger the backup
*
*/
function miniBackupSeq(){
  
  var _COMMA_SEPARATOR  = ",";
  var _SMALLER          = 200;
  var _BASE_HTML        = "http://localhost/ecs/tocmenu_Y/views/miniBackupSeq_html.php";
  var _TYPE_PO          = 1;
  

  /**
  * Fetch the opener properties
  *
  */
  var _HEIGHT = 100 + _COMMA_SEPARATOR;
  var _WIDTH  = 50  + _COMMA_SEPARATOR;
  
  hdlChild = window.open( _BASE_HTML,
                         "miniBackup",
                         ("height=" + _HEIGHT + 
                          "width="  + _WIDTH  + 
                          "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizeable=0"));
}

/**
* trigger the reloadLastSequence
*
*/
function miniReloadSeq(){
  
  var _COMMA_SEPARATOR  = ",";
  var _SMALLER          = 200;
  var _BASE_HTML        = "http://localhost/ecs/tocmenu_Y/views/miniReloadSeq_html.php";
  var _TYPE_PO          = 1;
  

  /**
  * Fetch the opener properties
  *
  */
  var _HEIGHT = 100 + _COMMA_SEPARATOR;
  var _WIDTH  = 50  + _COMMA_SEPARATOR;
  
  hdlChild = window.open( _BASE_HTML,
                         "miniReload",
                         ("height=" + _HEIGHT + 
                          "width="  + _WIDTH  + 
                          "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizeable=0"));
}

/**
* Misc class
*
*/
var Misc = {
   
  /**
  * Pop up user prefference interface
  * 
  * @param  String  host ip
  *
  */
  miniUser:function (hostIp){
    
    var _COMMA_SEPARATOR  = ",";
    var _SMALLER          = 200;
    var _BASE_HTML        = "http://"+ hostIp +"/ecs/tocmenu_Y/views/miniUser_html.php";
    var _TYPE_PO          = 1;
    
  
    /**
    * Fetch the opener properties
    *
    */
    var _HEIGHT = 400   + _COMMA_SEPARATOR;
    var _WIDTH  = 400   + _COMMA_SEPARATOR;
    
    hdlChild = window.open( _BASE_HTML,
                           "miniUser",
                           ("height=" + _HEIGHT + 
                            "width="  + _WIDTH  + 
                            "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizeable=0"));
  }
}


